class Cms {
    static hasMany = [documents:Document, tags:Tag]

    static searchable = true

    static constraints = {
        title(nullable:false, size:1..128)
    }

    String title
    String cmsid

    String toString(){
        "Cms ${id}: ${title}"
    }
}
